import Vue from "vue";
import Router from 'vue-router'

Vue.use(Router)
export default new Router({
    routes: [
        {
            path: '/',
            name: 'menu',
            component: () => import( '../views/menu'),
            children: [
                {
                    path: 'loop',
                    name: 'loop',
                    component: () => import( '../views/loop'),
                },
                {
                    path: 'timeline',
                    name: 'timeline',
                    component: () => import( '../components/timeline'),
                },
            ]
        },
        {
            path: '/full_content',
            name: 'fullContent',
            component: () => import( '../views/panel'),
        }
    ]
})